package com.buer.storage.business.dao;

import com.buer.storage.business.domain.UserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 用户表
 * @date 2021-01-14 16:58:54
 */
@Mapper
public interface UserEntityDao {

	UserEntity get(Integer userId);
	
	List<UserEntity> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UserEntity entity);
	
	int update(UserEntity entity);
	
	int remove(Integer user_id);
	
	int batchRemove(Integer[] userIds);

    List<UserEntity> getEntityList(Map<String, Object> map);

	UserEntity getOne(Map<String, Object> map);
}
